<?php

namespace App\Model\Front;

use Illuminate\Database\Eloquent\Model;

class ShoppingCart extends Model
{
    public $table = "shoppingcart";

    public static function deleteCartRecord($identifier, $instance)
    {
    	$cart = static::where('identifier', $identifier)->where('instance', $instance);
    	$cart->delete();
    	
    }
}
